package config

import "time"

const (
	ListenAddr = "0.0.0.0:9090"
	KubeConfig = "E:\\GoProject\\config"
	//tail的日志行数
	//tail -n 2000
	PodLogTailLine = 2000

	// 数据库配置
	DbType = "mysql"
	DbHost = "127.0.0.1"
	DbPort = 3306
	DbName = "k8s_demo"
	DbUser = "root"
	DbPwd  = "123789"

	// 打印Mysql debug的sql日志
	LogMode = true

	// 连接池的配置
	MaxIdleConns = 10               //最大空闲连接
	MaxOpenConns = 100              //最大连接数
	MaxLifeTime  = 30 * time.Second //最大生存时间

	AdminUser = "admin"
	AdminPwd  = "123456"
)
